package com.bee.common.core.exception;

import com.bee.common.core.result.Result;
import com.bee.common.core.result.ResultCode;

/**
 * Created by liekkas on 2017-8-1.
 * 业务异常
 */
public class BusinessException extends ApplicationException {

    public BusinessException() {
    }

    public BusinessException(Result result) {
        super(result);
    }

    public BusinessException(Result result, String exceptionLevel) {
        super(result, exceptionLevel);
    }

    public BusinessException(Result result, Throwable cause) {
        super(result, cause);
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
